package com.sylli.oeuf.server.game.logic;

public class Swapper<T> {

	private T a;
	
	private T b;
	
	public Swapper(T a, T b) {
		this.a = a;
		this.b = b;
	}
	
	public void swap() {
		T _c = b;
		b = a;
		a = _c;
	}
	
	public T getHead() {
		return a;
	}
	
	public T getTail() {
		return b;
	}
	
}
